home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet Info 1994 March
/
Internet Info CD-ROM (Walnut Creek) (March 1994).iso
/
networking
/
mail
/
mh
/
contrib
/
9209
/
mheditor
< prev
next >
Wrap
Text File
|
1992-09-20
|
497b
|
23 lines
#!/bin/sh
# Subject: MH editor sh script
# Date: Fri, 21 Aug 92 11:49:46 -0500
# From: Tom McCain <tom@ecn.purdue.edu>
#
# I use the following (courtesy of Dave Curry) to toggle MH's
# "editor" between 9600 and 1200 bauds. If I'm at 9600 baud MH uses
# emacs if I'm at 1200 MH uses vi. I call it "mheditor". In my
# .mh_profile I set:
#
# editor: mheditor
#
# ...BTW, the q101 is the 1200 baud (dialup) terminal.
case "$TERM" in
q101)
editor=vi;;
*)
editor=emacs;;
esac
exec $editor $*